package com.ls.thread.xww;

public class Signal1Test {

	public static void main(String[] args) {
		Runnable car=new Signal1();
		
		Thread t01=new Thread(car);
		Thread t02=new Thread(car);
		Thread t03=new Thread(car);
		Thread t04=new Thread(car);
		
		
		t01.setName("线程1");
		t02.setName("线程2");
		t03.setName("线程3");
		t04.setName("线程4");
		
		
		t01.start();
		t02.start();
		t03.start();
		t04.start();
		
	} 
}
